package com.hsb.seckill.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hsb.seckill.entity.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (User)表数据库访问层
 *
 * @author makejava
 * @since 2021-09-04 15:57:31
 */
@Mapper
public interface UserDao extends BaseMapper<User> {
    /**
     * 根据手机号码查询用户
     * @return
     */
    User queryByMobile(String mobile);
}